<form id="addParams-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">类型名称:</label>
        <div class="col-xs-12 col-sm-8">
            <label class="control-label">{$spec_name}</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">请选择参数:</label>
        <div class="col-xs-12 col-sm-8">
            {volist name="params" id="vo"}
            <input type="checkbox" name="params_id[]" lay-skin="primary" value="{$vo.id}" {if condition="in_array($vo['id'],$typePids)"}checked{/if}>{$vo.name}
            {/volist}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

